package com.okyai.cms;

public class Test {
	
public static void main(String[] args) {
	String str="default";
	String temp = str.substring(0,str.lastIndexOf("/"));
	System.out.println(temp);
}

}
